package com.youth.youthservice.service;

import com.youth.commonutils.R;
import com.youth.youthservice.entity.announcement.CourseMember;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangqicai
 * @since 2023-04-24
 */
public interface CourseMemberService extends IService<CourseMember> {

    /*向课程成员表里面添加信息,用于远程调用*/
    boolean insertCourseMember(String courseId, String memberId);

    /*根据课程id和用户id判断该用户是否具有操作权限*/
    R selectAuthority(String courseId, String memberId);
}
